{* Smarty
// This file should be in UTF8 without BOM - Accents examples: éèê
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr  |
// +----------------------------------------------------------------------+
// | This file is part of PEEL Shopping 7.2.1, which is subject to an	  |
// | opensource GPL license: you are allowed to customize the code		  |
// | for your own needs, but must keep your changes under GPL			  |
// | More information: https://www.peel.fr/lire/licence-gpl-70.html		  |
// +----------------------------------------------------------------------+
// | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/	  |
// +----------------------------------------------------------------------+
// $Id: mini_caddie.tpl 44077 2015-02-17 10:20:38Z sdelaporte $
*}<div id="fly_to_basket_destination"></div>
<div class="dropdown">
	<a class="dropdown-toggle btn btn-default caddie-button" href="#" data-toggle="dropdown"><span class="glyphicon glyphicon-shopping-cart"></span><span class="badge minicaddie_badge_xs">{$count_products}</span><span class="caret"></span></a>
	{* <div class="minicaddie hidden-xs"><a href="{$affichage_href|escape:'html'}" style="text-decoration:none"><span class="glyphicon glyphicon-shopping-cart minicaddie_md"></span><span class="minicaddie_badge_md">{$count_products}</span></a></div> *}
	<div class="dropdown-menu">
		<table class="minicaddie">
			{foreach $products as $item}
			<tr>
				<td class="product_name">{if !empty($item.picture)}<div class="autocomplete_image"><img src="{$item.picture}" alt="{$item.name|str_form_value}" /></div>{/if}<div>{$item.quantite} x <a href="{$item.href|escape:'html'}">{$item.name}{if isset($item.color)}<br />{$item.color.label}: {$item.color.value}{/if}{if isset($item.size)}<br />{$item.size.label}: {$item.size.value}{/if}</a></div></td>
				<td class="product_price"><div>{$item.price}</div></td>
			</tr>
			{/foreach}
			{if isset($transport)}
				<tr><td>{$transport.label}:</td><td class="right">{$transport.value}</td></tr>
			{/if}
			{if isset($total)}
				<tr><td>{$total.label}:</td><td class="right">{$total.value}</td></tr>
			{/if}
			<tr><td colspan="2" class="center"><a href="{$affichage_href|escape:'html'}" class="btn btn-primary bouton">{$STR_DETAILS_ORDER}</a></td></tr>
		</table>
	</div>
</div>
